package com.mooc.mymooc.dao;


import com.mooc.mymooc.pojo.UserFavorite;

import java.util.Map;

public interface UserFavoriteDao {
    public Integer insertUserFav(UserFavorite userFavorite);

    public Integer findUserFav(UserFavorite userFavorite);

    public Integer removeUserFav(Integer id);

    public UserFavorite findIsFavIndex(UserFavorite userFavorite);

    public Integer[] findUserFavs(Map map);

    public Integer deleteUserFav(Map map);
}
